package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_cookboy1_make_food", desc = "小当家1-做饭日志", autoSave = true, uploadCk = true)
public class LogCookBoy1MakeFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "消耗多少厨力")
    private int cost;
    @FieldTypeAnnotation(desc = "食材等级")
    private int level;
    @FieldTypeAnnotation(desc = "食材数量")
    private int num;


    public LogCookBoy1MakeFood(int activityId, long userId, int cost, int level, int num) {
        this.activityId = activityId;
        this.userId = userId;
        this.cost = cost;
        this.level = level;
        this.num = num;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public long getUserId() {
        return userId;
    }
}
